package com.carleasoft.mps.cms.business.article.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yanghao
 * @date 2021-12-14 09:37
 * @project mps
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("c_cms_site")
public class AuthoritySiteEntity extends PublicOperationEntity implements Serializable {

    /**
     * 主键id
     */
    @TableId(value = "ID",type = IdType.AUTO)
    private String id;

    /**
     * 站点编码
     */
    @TableField(value="SITE_CODE")
    private String siteCode;

    /**
     * 站点排序
     */
    @TableField(value = "SITE_SORT")
    private Integer siteSort;

    /**
     * 站点域名
     */
    @TableField(value = "SITE_DOMAIN")
    private String siteDomain;

    /**
     * 状态
     */
    @TableField(value = "SITE_STATUS")
    private Integer siteStatus;

    /**
     * 备注
     */
    @TableField(value = "REMARK")
    private String remark;

}
